import { DirectionalLight, HemisphereLight } from 'three';

function createLights() {
  // Create a directional light
  const light = new DirectionalLight('white', 8);

  // move the light right, up, and towards us
  light.position.set(10, 10, 10);

  return light;
}
function createHemisphereLight() {
  const ambientLight = new HemisphereLight('white', 'darkslategray', 10);

  const mainLight = new DirectionalLight('white', 5);
  mainLight.position.set(10, 10, 10);

  return { ambientLight, mainLight };
}

function createMultiLights() {
  const ambientLight = new HemisphereLight('white', 'darkslategrey', 5);

  const mainLight = new DirectionalLight('white', 4);
  mainLight.position.set(10, 10, 10);

  return { ambientLight, mainLight };
}
export { createLights, createHemisphereLight, createMultiLights };
